package com.msb.serviceprice.feign;

import com.msb.commons.dto.ForecastPriceDTO;
import com.msb.commons.response.DirectionResponse;
import com.msb.commons.response.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: chshh
 * @version: 1.0
 */
@FeignClient("service-map")
public interface ServiceMapClient {
    @GetMapping("/direction/driving")
    public ResponseResult<DirectionResponse> driving(@RequestBody ForecastPriceDTO forecastPriceDTO);
}
